package com.zhx.learn.exception;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhx.learn.component.ZhxAuth2ExceptionSerializer;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;

/**
 *describe: 自定义OAuth2Exception
 *
 *@author zhanghaixuan
 *@date 2018/12/28
 **/
@JsonSerialize(using = ZhxAuth2ExceptionSerializer.class)
public class ZhxAuth2Exception extends OAuth2Exception {

	public ZhxAuth2Exception(String msg) {
		super(msg);
	}
}
